package com.ruoyi.project.WebMoudle.userExchange.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 积分兑换记录对象 user_exchange
 * 
 * @author ruoyi
 * @date 2020-07-20
 */
public class UserExchange extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long wxUserId;

    /** 兑换积分 */
    @Excel(name = "兑换积分")
    private Integer exchangeJf;

    /** 当前兑换率 */
    @Excel(name = "当前兑换率")
    private BigDecimal exchangeRatio;

    /** 兑换钱 */
    @Excel(name = "兑换钱")
    private Double exchageMoney;

    /** 状态 */
    @Excel(name = "状态")
    private String status;
    private String phoneNum;
    private String nickName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWxUserId(Long wxUserId) 
    {
        this.wxUserId = wxUserId;
    }

    public Long getWxUserId() 
    {
        return wxUserId;
    }
    public void setExchangeJf(Integer exchangeJf)
    {
        this.exchangeJf = exchangeJf;
    }

    public Integer getExchangeJf()
    {
        return exchangeJf;
    }
    public void setExchangeRatio(BigDecimal exchangeRatio)
    {
        this.exchangeRatio = exchangeRatio;
    }

    public BigDecimal getExchangeRatio()
    {
        return exchangeRatio;
    }
    public void setExchageMoney(Double exchageMoney) 
    {
        this.exchageMoney = exchageMoney;
    }

    public Double getExchageMoney() 
    {
        return exchageMoney;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wxUserId", getWxUserId())
            .append("exchangeJf", getExchangeJf())
            .append("exchangeRatio", getExchangeRatio())
            .append("exchageMoney", getExchageMoney())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
